<?php
namespace Admin\Model;
use Think\Model;

class PrefeModel extends Model{
	//根据id获取商家的店名
	public function getShopName($buss_id){
		//获取商店名
		$buss = M("buss");
		$info = $buss ->field('shopname')->where("bs_id=".$buss_id)->find();
		return $info;
	}
}